package com.group02.community.entity.community;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Description  zy_building: table
 * @Author  Sunk 
 * @Date 2022-07-11 
 */

@Data
@TableName("zy_building")
public class ZyBuilding  implements Serializable {

	private static final long serialVersionUID =  6206976122520523429L;

	@TableId
	/** 楼栋id */
	@ExcelProperty(value = {"楼栋id"}, index = 0)
	private String buildingId;

	@ExcelProperty(value = {"楼栋名称"}, index = 1)
	/** 楼栋名称 */
	private String buildingName;

	@ExcelProperty(value = {"楼栋编码"}, index = 2)
	/** 楼栋编码 */
	private String buildingCode;

	@ExcelProperty(value = {"楼栋面积"}, index = 3)
	/** 楼栋面积 */
	private BigDecimal buildingAcreage;


	@ExcelProperty(value = {"小区id"}, index = 4)
	/** 小区id */
	private String communityId;

	/** 创建者 */
	private String createBy;

	@ExcelProperty(value = {"创建时间"}, index = 5)
	/** 创建时间 */
	private Date createTime;

	/** 更新者 */
	private String updateBy;

	/** 更新时间 */
	private Date updateTime;

	@ExcelProperty(value = {"备注"}, index = 6)
	/** 备注 */
	private String remark;

	@TableField(exist = false)
	private ZyCommunity zyCommunity;


	/** 单元集合 */
	@TableField(exist = false)
	private List<ZyUnit> children;




}
